<template>
	<div>
      <div style="position: relative;">
      	<img src="../../../../static/img/lanhu/94.png" alt="" class="img"/>
      	<img src="../../../../static/img/lanhu/96.png" alt="" class="back" @click="closeWin"/>
      </div>
      <div style="padding: 20px;">
      	<img src="../../../../static/img/lanhu/95.png" alt="" class="img"/>
      </div>  
	  <div style="padding: 20px;">
	  	<img src="../../../../static/img/lanhu/98.png" alt="" class="img" @click="changeAgree" v-if="!agreeImg"/>
	  	<img src="../../../../static/img/lanhu/99.png" alt="" class="img" @click="changeAgree" v-else/>
	  </div>
	  <div style="padding: 20px;">
	  	<img src="../../../../static/img/lanhu/97.png" alt="" class="img" v-if="!agreeImg"/>
	  	<img src="../../../../static/img/lanhu2/01.png" alt="" class="img" v-else @click="linkAdd"/>
	  </div> 	  
	</div>	
</template>

<script>
import {getFun} from '@/api/publicFun.js'	 
let publicFun=getFun()	
export default {	
	data() {
       return {
          agreeImg:false,
          refundId:''
       }
	},
	methods: {
        changeAgree(){
        	this.agreeImg=!this.agreeImg
        },
        linkAdd(){
	        let arg='[{"refundId":"'+this.refundId+'"}]'
	    	this.link('/market/intervention/index',arg)
        }
	},
	mixins:[publicFun],//混入		
	mounted() {
         this.refundId=this.$router.currentRoute.query.refundId;
	}
}	
</script>

<style scoped="" lang="scss">
.img{width: 100%;}
.back{position: absolute;top:15px;left: 15px;width: 8px;height: 16px;}
</style>